]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appMenu: Disable reactivity at the start of animation
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 7 May 2011 07:12:52 +0000 (03:12 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 16 May 2011 23:12:38 +0000 (19:12 -0400)
If you clicked on the application button while it was fading out, like
during a transition to the overview, a vestigal menu appeared.

https://bugzilla.gnome.org/show_bug.cgi?id=639459

js/ui/panel.js

index cfc5e4d2d8eff94e2fd4477ddd644ba00af668c9..6a24ac99d29e1d250fe923f2cec726c1cb9160c0 100644 (file)
@@ -302,6 +302,7 @@ AppMenuButton.prototype = {
 
         this._visible = true;
         this.actor.show();
+        this.actor.reactive = true;
 
         if (!this._targetIsCurrent)
             return;
@@ -318,6 +319,7 @@ AppMenuButton.prototype = {
             return;
 
         this._visible = false;
+        this.actor.reactive = false;
         if (!this._targetIsCurrent) {
             this.actor.hide();
             return;